package com.ruoyi.cms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.cms.entity.domain.Model;
import com.ruoyi.cms.entity.domain.ModelFavorite;
import com.ruoyi.cms.entity.req.MyFavoriteListReq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 模型收藏Mapper接口
 */
@Mapper
public interface ModelFavoriteMapper extends BaseMapper<ModelFavorite> {

    Page<Model> selectFavoriteList(@Param("req") MyFavoriteListReq req, @Param("page") Page<Model> page);
}
